// Decompiled by Jad v1.5.8g. Copyright 2001 Pavel Kouznetsov.
// Jad home page: http://www.kpdus.com/jad.html
// Decompiler options: packimports(3) 

package com.sec.android.app.calculator;

import java.io.*;

class HistoryEntry
{

    HistoryEntry(int i, DataInput datainput)
        throws IOException
    {
        if(i >= 1)
        {
            mBase = datainput.readUTF();
            mEdited = datainput.readUTF();
            return;
        } else
        {
            throw new IOException((new StringBuilder()).append("invalid version ").append(i).toString());
        }
    }

    HistoryEntry(String s, String s1)
    {
        mBase = s;
        mEdited = s1;
    }

    String getBase()
    {
        return mBase;
    }

    String getEdited()
    {
        return mEdited;
    }

    public String toString()
    {
        return mBase;
    }

    void write(DataOutput dataoutput)
        throws IOException
    {
        dataoutput.writeUTF(mBase);
        dataoutput.writeUTF(mEdited);
    }

    private String mBase;
    private String mEdited;
}
